INCLUDEDIR=..
OBJECTS=CompareMain.o $(INCLUDEDIR)/System.o
CCFLAGS += -I$(INCLUDEDIR)

compare : $(OBJECTS)
	g++ -o compare $(OBJECTS)
CompareMain.o : CompareMain.cc $(INCLUDEDIR)/System.h
	g++ $(CCFLAGS) -c CompareMain.cc
$(INCLUDEDIR)/System.o : $(INCLUDEDIR)/System.cc $(INCLUDEDIR)/System.h
	g++ $(CCFLAGS) -c $(INCLUDEDIR)/System.cc -o $(INCLUDEDIR)/System.o
